// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import QtWebKit 1.0
import com.nokia.symbian 1.1


Page {
    id:root
    property alias url : webview.url

   TopBar {
        id: topBar
        anchors.top : parent.top
        topText: denomination

        ToolButton {
            id: back
            iconSource: "toolbar-home"
            flat: true
            anchors.left: parent.left
            onClicked: pageStack.pop()
        }


        ToolButton {
            id: favorites
          iconSource: "toolbar-favorite-mark"
          //  iconSource: "toolbar-favorite"
            flat: true
            anchors.right: topBar.right
           // onClicked: pageStack.pop()
        }
    }

    BottomBar {
        id: toolBar
        anchors.bottom: parent.bottom
        //anchors.top: listView.bottom
    }


    tools: ToolBarLayout {
        ToolButton {
            anchors.left: parent.left
            iconSource: "toolbar-back"
            onClicked: pageStack.push(Qt.resolvedUrl("MainPage.qml"))
        }

    }
        Flickable {
            contentHeight: webview.height
            contentWidth: webview.width
            anchors.top: topBar.bottom
            anchors.bottom: toolBar.top
            width: root.width


            WebView {
                id:webview

            }
        }
    }






// WrapMode = Text.WrapAnyWare
